#include <stdio.h>
#include "lt_fat32.h"

void ptarr(char *buf, int size)
{
	int i, j;
	int idx = 0;

	for (i=0; i<512/16; i ++)
	{
		for (j=0; j<16; j ++)       
			printf("%02X ", buf[idx++] & 0xff);	
		printf("\n");      
	}	
}


extern DRIVER_t light_driver;

int main()
{
	mount(&light_driver);


	int fd = lt_open("C:/1/2/3/SOP1.PNG");
	char buf[512];
	lt_read(fd, buf, 512);


	return 0;
}

